<?php
/**
 * Template:   Default
 * View:       exception (Page appelée lorsqu'une erreur internet survient et que le mode debogue est activé)
 *
 * @author     Dread <dreadlokeur@gmail.com>
 * @version    1.0
 * @license    Licence publique générale GNU http://www.gnu.org/licenses/gpl.html
 * @copyright  Copyright 2010 - MediclorienPHP and contributors
 */
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="fr_FR">
    <head>
        <title>Oupsss</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    </head>
    <body>
        <div style="border:2px solid #ff0000; width:450px; margin:0px auto;padding:5px;background-color:#ffffff">
            <span style="font-weight:bold;text-align:center;color:#ff0000">Une erreur s'est produite :</span>
            <p><b><?php echo $exception->type; ?></b> : <?php echo $exception->message; ?></p>
        </div>
        <div style="border:2px solid #ff0000; width:450px; margin:3px auto;padding:5px;background-color:#ffffff">
            <span style="font-weight:bold;text-align:center;color:#ff0000">Debug :</span>
            <p><b>Fichier</b> : <?php echo $exception->file; ?></p>
            <p><b>Ligne </b> : <?php echo $exception->line; ?></p>
            <p><b>Trace</b> :<br/><?php echo $exception->trace; ?></p>
        </div>
    </body>
</html>